package com.hst.capacity.domain.model.response.intercity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

@Data
@Alias("icOrderBillInfoVO")
@AllArgsConstructor
public class IcOrderBillInfoVO {

    /** 乘客实际账单 */
    private PassengerBill passengerBill;
    /** 乘客支付信息 */
    private PassengerPayInfo passengerPayInfo;
    /** 司机账单 */
    private DriverBill driverBill;

    @Data
    public static class PassengerBill{
        /** 总价 */
        private Float total;
        /** 时长费 */
        private Float duration;
        /** 里程费 */
        private Float mileage;
        /** 远途费(超里程费) */
        private Float longDistance;
    }

    @Data
    public static class DriverBill{
        /** 总价 */
        private Float total;
        /** 基础费 */
        private Float basic;
        /** 时长费 */
        private Float duration;
        /** 里程费 */
        private Float mileage;
        /** 高速费 */
        private Float highSpeed;
        /** 停车费 */
        private Float parking;
        /** 路桥费 */
        private Float bridge;
        /** 远途费 */
        private Float longDistance;
        /** 其他费 */
        private Float other;
        /** 免佣补贴金额 */
        private Float allowance;
        /** 节假日服务费 */
        private Float holiday;
        /** 信息服务费 */
        private Float information;
    }
    @Data
    public static class PassengerPayInfo{
        /** 支付金额 */
        private Float payMoney;
        /** 支付时间 */
        private String payTime;
        /** 支付状态 */
        private String payStatus;
        /** 支付渠道 */
        private String payChannel;
        /** 发票状态 */
        private String InvoiceStatus;
        /** 退款费用 */
        private Float refund;
        /** 高速费 */
        private Float highSpeed;
        /** 停车费 */
        private Float parking;
        /** 路桥费 */
        private Float bridge;
        /** 限时折扣 */
        private Float discount;
        /** 其他费 */
        private Float other;
        /** 节假日服务费 */
        private Float holiday;
    }

}
